class BaseTrain(object):
    def __init__(self,
                 model,
                 train_data_word=None, valid_data_word=None,
                 train_data_char=None, valid_data_char=None,
                 config=None):
        self.model = model
        self.train_data_word = train_data_word
        self.valid_data_word = valid_data_word
        self.train_data_char = train_data_char
        self.valid_data_char = valid_data_char
        self.config = config

    def train(self):
        raise NotImplementedError
